package com.yoda.mall.api;

import com.yoda.mall.model.entity.ums.Resource;
import com.yoda.mall.model.entity.ums.ResourceCategory;

import java.util.List;

public interface ResourceCategoryApi {
    List<ResourceCategory> list();

    void create(ResourceCategory resourceCategory);

    void deleteById(Integer id);

    void updateById(ResourceCategory resourceCategory);
}
